package cn.wolfcode.luowowo.comment.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 社区问答的评论
 */
@Getter
@Setter
@ToString
@Document("wenda_comment")
public class WendaComment implements Serializable {

    public static final Integer PT_GOLDANSWER = 0;//普通
    public static final Integer JP_GOLDANSWER = 1;//金牌

    @Id
    private String id;

    private String wendaId;

    private Long userId;

    private String username;

    private Integer level;

    private String headUrl;

    private String content;

    private Integer goldAnswer = 0;//是否金牌数



}
